package at.ac.tuwien.infosys.aic11.services;


import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import at.ac.tuwien.infosys.aic11.dto.InternalCustomer;
import at.ac.tuwien.infosys.aic11.dto.Rating;
import at.ac.tuwien.infosys.aic11.dto.Warrantor;
import at.ac.tuwien.infosys.aic11.fault.UnknownCustomerFault;


import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gh
 * Date: 23.10.11
 * Time: 18:15
 * To change this template use File | Settings | File Templates.
 */

@Path("/ratingservice")
@Produces("application/json")
public interface RatingService {


	@GET
	@Path("rating/{customername}/")
	public Rating getRating(@PathParam("customername") String customerName);

	@GET
	@Path("customers")
	public List<InternalCustomer> getCustomers();

	@GET
	@Path("warrantors")
	public List<Warrantor> getWarrantors();

}
